/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Chainofresponsability3;

/**
 *
 * @author Marcel
 */
public abstract class PurchasePower {
    protected final double base = 500;
    protected PurchasePower successor;
 
    public void setSuccessor(PurchasePower successor) {
        this.successor = successor;
    }
 
    abstract public void processRequest(PurchaseRequest request);
}
